export default {
	// 1、必须先指定命名空间：
	namespaced: true,
	// 2、通过state来声明变量数据：
	state: () => {
		return {
			rechargeList: uni.getStorageSync('rechargeList'),
		}
	},
	mutations: {
		setRechargeListMethod(state, value) {
			// console.log(value,'value==============');
			uni.setStorageSync('rechargeList', value)
		},
		removeRechargeListMethod(state, val) {
			uni.removeStorageSync('rechargeList')
		},
	},
	actions: {
		getRechargeListMethod(state) {
			return uni.getStorageSync('rechargeList')
		}
	}
}